package fractal;

/**
 * Created by IntelliJ IDEA.
 * User: ilya
 * Date: 25.09.11
 * Time: 20:34
 */
public class AllColorsFractal implements Fractal {

    private double step;

    public AllColorsFractal(double step) {
        this.step = step;
    }

    public int isIn(double x, double y) {
        return (int) (x / step);
    }
}
